<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>商品分类添加</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../../layerui/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="../../layerui/css/public.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form">
    <input type="hidden" name="id">

    <div class="layui-form-item">
        <label class="layui-form-label">分类名称</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input categoryName" name="categoryName" lay-verify="required" placeholder="请输入分类名称" />
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">排序</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input displayOrder" name="displayOrder" lay-verify="number" placeholder="请输入排序" />
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-block">
            <select data-key="CATEGORY_STATUS" data-page="CATEGORY" data-value="" name="status" class="status" >
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <button class="layui-btn layui-block" lay-filter="addCategory" lay-submit>提交</button>
    </div>
</form>
<script type="text/javascript" src="../../layerui/layui/layui.js"></script>
<script type="text/javascript" src="categoryAdd.js"></script>
</body>
</html>